<!DOCTYPE html>
<html >
	<head>
		<meta charset="utf-8" />
		<script type="text/javascript" src="../js/angular.js" ></script>
		<title></title>
	</head>

	<body ng-app="app" >
		<div ng-controller="ctrl" >
			{{date|date:'yyyy-MM-dd HH:mm:ss'}}
		</div>
		<script>
			var app=angular.module("app",[]);
			app.controller("ctrl",["$scope",function($scope){
				$scope.date=new Date();
			}]);
		</script>
	</body>
</html>
